Q3Geometry_GetType
You can use theQ3Geometry_GetType
function to get the type of a geometric object.
TQ3ObjectType Q3Geometry_GetType (TQ3GeometryObject geometry);
geometry
- A geometric object.
DESCRIPTION
TheQ3Geometry_GetType
function returns, as its function result, the type of the geometric object specified by thegeometry
parameter. The types of geometric objects currently supported by QuickDraw 3D are defined by these constants:
kQ3GeometryTypeBox kQ3GeometryTypeGeneralPolygon kQ3GeometryTypeLine kQ3GeometryTypeMarker kQ3GeometryTypeMesh kQ3GeometryTypeNURBCurve kQ3GeometryTypeNURBPatch kQ3GeometryTypePoint kQ3GeometryTypePolygon kQ3GeometryTypePolyLine kQ3GeometryTypeTriangle kQ3GeometryTypeTriGridIf the specified geometric object is invalid or is not one of these types,Q3Geometry_GetType
returns the valuekQ3ObjectTypeInvalid
.